home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / blitzbasic / blitz-list200994.lha / blitz-list / text0314.txt < prev    next >
Encoding:
Text File  |  1994-09-20  |  1.6 KB  |  57 lines

  1.  
  2.  
  3. > > ARRRGGGHHHH!!! This almost drove me crazy!! (;
  4.  
  5. > No pun intended, I hope 8)
  6.  
  7. No. (;
  8.  
  9. > Thanks man, I was begining to think I was the only one on this list that
  10. > tries to do things that are not listed in the manuals!
  11.  
  12. Yeah, with the entire list, sometimes you feel like you're the only one
  13. posting. I know, coz no one has answered a question I posted long ago. *sigh*
  14.  
  15. > > Firstly, the DosList should contain a C union of three different
  16. > > structures (ie. DosListUnion should be either dol_Handler, dol_Volume or 
  17. > > dol_AssignList, not all three!) The .dt_Volume newtype provides a 
  18. > > workaround.
  19.  
  20. > OK I am being stupid.
  21.  
  22. No comment. (;
  23. It's a bug in the structure. Guess I better inform Acid Software.
  24.  
  25. > > Secondly, a BSTR is a BPTR with the first byte containing string length.
  26. > > To convert a BPTR to a normal Amiga pointer you must multiply it by 4.
  27. > > ie. APTR = BPTR << 2
  28.  
  29. > Yeah, I did try that and still got crap, must have been doing something
  30. > wrong, again 8)
  31. > Ho hum.
  32.  
  33. A combination of error by Acid and this, had me wondering too. Finally
  34. realised the mistake after about an hour of looking at the C includes and
  35. staring at your program.
  36.  
  37. > > Thirdly, you've got a weird way of accessing newtype structures. (;
  38.  
  39. > Yep, but I types this in from memory when I got here, as I forgot my source
  40. > 8)
  41.  
  42. At least that's what you claim. (;
  43.  
  44. > > Okay, here is the working version.
  45.  
  46. > You're a champ.
  47.  
  48. You're too kind, and so right! (;
  49.  
  50. Bye!
  51. Son Le
  52.  
  53. -- 
  54. Son H. Le                             email: s924723@minyos.xx.rmit.edu.au
  55.           "Nothing comes from nothing, nothing ever could..."
  56.  
  57.